/**
 * 计划任务服务方法
 * Created by chuaiqing on 16/1/13.
 */
'use strict';
angular.module('mk.services').service('TaskService', ['HttpRequestService', function(HttpRequestService){
    return {
        test: function(){
            //
            alert('@TaskService: test method called.');
        },
        findTaskList: function(){
            //
            var url = "";
            var params = {};
            HttpRequestService.doPost(url, params)
                .then(function(result){
                    //
                })
                .finally(function(){
                    //
                    console.log('findTaskList method called.')
                });
        }
    };
}]);